package com.java.doMain;

/**
 * @Author xyd
 * @Date 2021/12/22 16:11
 * @Version 1.0
 */
public class user {

    private Integer userID;
    private String userName;
    private String password;
    private double balance;
    private String sex;
    private String tel;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    private String b1;
    private String b2;

    public user() {
    }

    public user(Integer userID, String userName, String password, double balance, String b1, String b2) {

        this.userID = userID;
        this.userName = userName;
        this.password = password;
        this.balance = balance;
        this.b1 = b1;
        this.b2 = b2;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return userName;
    }

    public void setUsername(String username) {
        this.userName = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getB1() {
        return b1;
    }

    public void setB1(String b1) {
        this.b1 = b1;
    }

    public String getB2() {
        return b2;
    }

    public void setB2(String b2) {
        this.b2 = b2;
    }

    @Override
    public String toString() {
        return "user{" +
                "userID=" + userID +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", balance=" + balance +
                ", sex='" + sex + '\'' +
                ", tel='" + tel + '\'' +
                ", b1='" + b1 + '\'' +
                ", b2='" + b2 + '\'' +
                '}';
    }
}
